package com.wyix;

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author wangdx
 * @since 2025/8/27
 */
@SpringBootApplication
@MapperScan("com.wyix.mapper")  // 扫描MyBatis Mapper接口
@OpenAPIDefinition(
        info = @Info(
                title = "学生成绩管理系统API",
                version = "1.0",
                description = "学生成绩管理系统的RESTful API文档"
        )
)
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
